<!DOCTYPE html>
<html>
<head>
    <th:block th:include="include :: headermain('互助保障系统')"/>
    <title>单位资料-互助保障系统</title>



</head>
<body>

<div class="page">

    <th:block th:include="include :: top"/>


    <div class="center">
        <div class="page-content page-help">
            <div class="page-help-category">
                <h2>帮助中心</h2>
                <c:forEach items="${question_type }" var="type">
                    <c:choose>
                        <c:when test="${type.value eq currentType}">
                            <a href="/hzhelp/question/category?type=${type.value}"  class='current'>${type.label}</a>
                        </c:when>
                        <c:otherwise>
                            <a href="/hzhelp/question/category?type=${type.value}" >${type.label}</a>
                        </c:otherwise>
                    </c:choose>

                </c:forEach>
            </div>
            <div class="page-help-content">
                <div class="page-help-search">
                    <form class="page-help-search-input" action="/hzhelp/question/category">
                        <input type="text" name="name" value="${name}" pl placeholder="请输入问题" />
                        <a onclick="$('.page-help-search-input').submit()">搜索</a>
                    </form>
                </div>
                <div class="page-help-item-list">
                    <c:forEach items="${questions}" var="question">
                        <a href="/hzhelp/question/questionDetail?id=${question.id}">
                            <i class="fa fa-search-plus "></i>
                            <span> ${question.name}</span>
                        </a>
                    </c:forEach>
                </div>

            </div>
        </div>
    </div>


    <th:block th:include="include :: footer"/>

</div>




<script src="/footerjs.js"></script>

</body>
</html>
